[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
CONST, TYPE, VAR
By default, there is a maximum of 60 possible menu topics in a single
pulldown menu system. These 60 topics may be composed of up to 8 main
topics and up to 10 sub-topics in each main topic. All these constants
may be modified as necessary.
The following are globally declared in the interface section of
PullTTT5:
CONST
MAX_PULL_TOPICS = 60;
MAX_PULL_WIDTH = 30;
MAX_MAIN_PICKS = 8;
MAX_SUB_PICKS = 10;
MAIN_IND = '\';
VAR
PTTT : MENUDISPLAY;
PM_USERHOOK : POINTER; {V4.0 ONLY}
Max_Pull_Topics - this constant dictates the total number of topics in
the Menu_record, i.e. the maximum number of topics including the '\\'
terminating topic. It may be changed to any appropriate value.
Max_Pull_Width - this byte constant dictates the maximum number of
characters in any of the topics. It may be changed to any appropriate
value.
Max_Main_Picks - this byte constant dictates the maximum number of
sub-menus in a pull down menu. It may be changed to any appropriate
value.
Max_Sub_Picks - this byte constant dictates the maximum number of
topics in a sub-menu. It may be changed to any appropriate value.
Main_Ind - this character constant is the character that indicates
main topics and the menu terminator. Change it to a different unique
character if a topic includes a '\'.
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson